<!--if condition="!$_GET['ajax']"--><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{:$_ENV['title']}</title>
<!--import type='js' file="js.jquery" /-->
<!--import type='js' file="js.jquery-ui" /-->
<!--import type='js' file="js.common" /-->
<link rel="stylesheet" type="text/css" href="{:gTpl::$path}style.css" media="all">
<link rel="stylesheet" type="text/css" href="{:gTpl::$path}custom.css" media="all">
</head>
<body class="ui-widget-content" style="border:none">
<div id="before_wrap"></div>
<div id="wrap">
	<div id="header" class="cb">
		<img id="logo" src="{:gTpl::$path}images/logo.png" />
		<div id="panel">
			<!--if condition="$_ENV['g']->uid"-->
				<img class="avatar small" src="{:UC_API}/avatar.php?size=small&uid={:$_ENV['g']->uid}" />
				<div>
					{:L('welcome')}<br /><br />
					{:gTpl::button('signal-diag', L('status').L('update'), '',
					'$.gx.openDialog("' . U('mblog-status/update') . '", "status", {title:"' . L('status') . L('update') . '",width:400,height:140,modal:false,autoClose:true' . chr(125) . ')')
					}
					{:gTpl::button('power', 'logout', '', '$.gx.ajaxGet("'.U('core-logging/logout').'");')}
				</div>
			<!--else /-->
				<img class="avatar small" src="{:UC_API}/avatar.php?size=small" />
				<div>
					{:gTpl::button('power', 'login', '',
					'$.gx.openDialog("' . U('core-logging/') . '", "login", {title:"' . L('user') . L('login') . '",width:400,height:300' . chr(125) . ')')
					}
				</div>
			<!--/if-->
		</div>
	</div>
	<div id="nav" class="ui-tabs">
		<ul class="ui-tabs-nav ui-widget-header ui-corner-all cb">
			<li class="ui-state-default"><a href="__ROOT__">首页</a></li>
			<li class="ui-state-default"><a href="{:U('mblog-profile/')}">围脖</a></li>
			<li><a href=""></a></li>
			<li><a href=""></a></li>
			<li><a href=""></a></li>
		</ul>
		
	</div>
	<div class="body">
<!--/if-->